﻿using UnityEngine;

public class RotateService : MonoBehaviour, IRotateService
{
    float m_speed = 10;
    public float Speed
    {
        get
        {
            return m_speed;
        }

        set
        {
            m_speed = value;
        }
    }

    void Start ()
    {
        Debug.Log("RotateService.Start");		
	}
	
	// Update is called once per frame
	void Update ()
    {
        transform.Rotate(Vector3.up, m_speed * Time.deltaTime);		
	}
}
